package org.example.controller;

import org.example.service.IQuxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created on 2020/3/23
 */
@RestController
public class FooController {

    @Autowired
    private IQuxService quxService;

    @GetMapping("/foo/hello")
    public String hello() {
        return quxService.hello();
    }
}
